import Vue from 'vue'
import Router from 'vue-router'
import * as ROUTE from './import'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',     //默认的根路径
      name: 'Home',
      component: ROUTE.Home
    },
    {
      path: '/person-center',
      name: 'PersonCenter',
      component: ROUTE.PersonCenter
    },
    {
      path: '/hello',
      name: 'Hello',
      component: ROUTE.HelloWorld
    },
  ]
})
